From: Julian Sparber Date: Thu, 25 Jan 2024 17:54:14 +0000 (+0100) Subject: messageTray: Remove unused properties from Source X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~62 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1b49cc643c599bc4a9e5c97b288a7792b1cb4854;p=gnome-shell.git messageTray: Remove unused properties from Source Part-of: --- diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index a40879ff5..be55018cf 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -314,7 +314,6 @@ class ChatSource extends MessageTray.Source { super._init(contact.get_alias()); - this.isChat = true; this._pendingMessages = []; this._conn = conn; diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index eba40c0bb..900f2ee71 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -645,12 +645,8 @@ export const Source = GObject.registerClass({ _init(title, iconName) { super._init({title}); - this.SOURCE_ICON_SIZE = 48; - this.iconName = iconName; - this.isChat = false; - this.notifications = []; this._policy = this._createPolicy();